package com.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.bean.wd_user;
import com.service.Uservice;
@Controller
public class LoginAction {
		@Autowired
		 private Uservice uservice;
		@RequestMapping(value="login.do")
		public String login(wd_user user){
		wd_user userbean =uservice.selectByBean(user);
			return "success";
		} 
}
